import Model from '../index'

class Common extends Model {

  // 获取后台用户下拉数据
  getAllAdminList (options) {
    options.url = '/api/backend/common/getAllAdminList'
    return this.post(options)
  }

  // 获取文章分类
  getArticleCategories (options) {
    options.url = '/api/backend/common/getArticleCategories'
    return this.post(options)
  }

}

const commonModel = new Common()
export default commonModel
